package com.hd.sup.modules.vehicle.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.sup.modules.vehicle.model.VehicleOnOff;
import com.hd.sup.modules.vehicle.model.VehicleStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆实时状态表 | 内存表 Mapper 接口
 * </p>
 *
 * @author chentl123
 * @since 2020-12-28
 */
public interface VehicleStatusMapper extends BaseMapper<VehicleStatus> {


    /**
     * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     * @author chentl
     * @description 离线车辆列表
     * @date 2021/2/24 11:10 上午
     * @params [page, vehicleOnOff]
     */
    List<Map<String, Object>> getOffLineVehicleList(@Param("page") Page<Map<String, Object>> page, @Param("vehicleOnOff") VehicleOnOff vehicleOnOff);

}
